package com.fmi.timedealer.track;

import java.util.Date;

public class TrackLog {
	
	private long id; 
	private long activityId;
	private Date startDate;
	private Date endDate;
	private int timeSpent;
	
	public TrackLog(long id, Date start, Date end) {
		super();
		this.activityId = id;
		this.startDate = start;
		this.endDate = end;
	}
	
	public TrackLog(long id, Date start) {
		this(id, start, null);
	}
	
	public long getActivityId() {
		return activityId;
	}

	public void setActivityId(long activityId) {
		this.activityId = activityId;
	}
	
	public Date getStartDate() {
		return startDate;
	}

	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}

	public Date getEndDate() {
		return endDate;
	}

	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}

	public int getTimeSpent() {
		return timeSpent;
	}

	public void setTimeSpent(int timeSpent) {
		this.timeSpent = timeSpent;
	}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}
}
